<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">

<hibernate-configuration>
  <session-factory>

    <property name="connection.url">jdbc:mysql://localhost:3306/wtprac?characterEncoding=UTF-8</property>
    <property name="connection.driver_class">com.mysql.jdbc.Driver</property>
    <property name="connection.username">root</property>
    <property name="connection.password">root</property>
    <property name="show_sql">false</property>
    <property name="dialect">org.hibernate.dialect.MySQL5Dialect</property>

    <mapping class="trip.Person"/>
    <mapping class="trip.Stop"/>
    <mapping class="trip.Route"/>
    <mapping class="trip.Route_stops"/>
    <mapping class="trip.Company"/>
    <mapping class="trip.Trip"/>
    <mapping class="trip.Time_table"/>
    <mapping class="trip.Person_trip"/>
    
  </session-factory>
</hibernate-configuration>